// components/shop-nearby-item/shop-nearby-item.js
Component({
  /**
   * 组件的属性列表
   */
  properties: {
    title: {
      type: String,
      value: ''
    },
    distance: {
      type: String,
      value: ''
    },
    address: {
      type: String,
      value: ''
    },
    isMyPosition: {
      type: Boolean,
      value: false
    },
    isLineShow: {
      type: Boolean,
      value: true
    }
  },

  /**
   * 组件的初始数据
   */
  data: {

  },

  /**
   * 组件的方法列表
   */
  methods: {
    onAdd: function() {
      this.triggerEvent('add', null, null);
    },
  }
})